#ifndef __MY_PNG_C__
#include <stdlib.h>
#include <string.h>
#include <png.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

#define PNG_BYTES_TO_CHECK 4
#ifndef min
#define min(x,y) ((x) < (y) ? (x) : (y))

int fh_png_id(char *name);
int fh_png_load(char *name, unsigned char *buffer, unsigned char ** alpha,int x,int y);
int fh_png_getsize(char *name, int *x, int *y);








#define __MY_PNG_C__
#endif
